<div class="popup_body">
    <div class="ui_table">
        <form method="post">
            <table cellpadding="0" cellspacing="0">
                <tr>
                    <td width="70" align="right">订单编号：</td>
                    <td><input type="text" class="text"  value="${(entity.id)!''}"/></td>
                    <td width="70" align="right">订单状态：</td>
                    <td><input type="text" class="text"  value="${(entity.orderStatusName)!''}"/></td>
                </tr>
                <tr>
                    <td width="70" align="right">已支付换电金额：</td>
                    <td><input type="text" class="text"  value="${(entity.exchangeCharge+entity.moneyCharge)/100}元"/></td>
                </tr>
                <tr>
                    <td align="right" width="140">充电柜/旧/新电池箱号：</td>
                    <td><input type="text" class="text" value="${(entity.cabinetId)!''}/${(entity.firstBoxNum)!''}/${(entity.secondBoxNum)!''}"/></td>
                    <td align="right" width="140">旧/新电池编号：</td>
                    <td><input type="text" class="text" value="${(entity.firstBatteryId)!''}/${(entity.secondBatteryId)!''}"/></td>
                </tr>
                <tr>
                    <td align="right">开旧箱时间：</td>
                    <td><input type="text" class="text"
                               value="<#if entity.openFirstBoxTime??> ${app.format_date_time(entity.openFirstBoxTime)}</#if>"/>
                    </td>
                    <td align="right">开新箱时间：</td>
                    <td><input type="text" class="text"
                               value="<#if entity.openSecondBoxTime??> ${app.format_date_time(entity.openSecondBoxTime)}</#if>"/>
                    </td>
                </tr>
                <tr>
                    <td align="right">放旧电时间：</td>
                    <td><input type="text" class="text"
                               value="<#if entity.putFirstBatteryTime??> ${app.format_date_time(entity.putFirstBatteryTime)}</#if>"/>
                    </td>
                    <td align="right">取新电时间：</td>
                    <td><input type="text" class="text"
                               value="<#if entity.takeSecondBatteryTime??> ${app.format_date_time(entity.takeSecondBatteryTime)}</#if>"/>
                    </td>
                </tr>
                <tr>
                    <td align="right">客户编号：</td>
                    <td><input type="text" class="text" value="${(entity.customerId)!''}"/></td>
                    <td align="right">客户手机：</td>
                    <td><input type="text" class="text" value="${(entity.customerMobile)!''}"/></td>
                </tr>
                <tr>
                    <#--添加客户姓名-->
                    <td align="right">客户姓名：</td>
                    <td><input type="text" class="text" value="${(real.realName)!''}"/></td>

                    <td align="right">行驶距离：</td>
                    <td><input type="text" class="text" value="${(entity.mileage)!''}"/></td>
                </tr>
                <tr>
                    <td align="right">创建时间：</td>
                    <td><input type="text" class="text"
                               value="<#if entity.createTime??> ${app.format_date_time(entity.createTime)}</#if>"/>
                    </td>
                    <#--修改-->
                    <td align="right">支付时间：</td>
                    <td><input type="text" class="text"
                               value="<#if entity.payTime??> ${app.format_date_time(entity.payTime)}</#if>"/>
                    </td>
                </tr>
            </table>
        </form>
    </div>
</div>
<div class="popup_btn">
    <button class="btn btn_border close">关闭</button>
</div>
<script>
    (function() {
        var pid = '${pid}',
                win = $('#' + pid),
                form = win.find('form');
        win.find('button.close').click(function() {
            win.window('close');
        });

    })()
</script>